Repository navigation
fix: gitignore .kit-triage.jsonl (kit's local triage audit log) - #157
Merged
Merged
Conversation
`kit triage` appends a per-run audit log to `.kit-triage.jsonl` in the cwd (src/commands/triage.ts), exactly like `.kit-audit.jsonl` and the other `.kit-*` local-state files — but it was the one such file missing from .gitignore. As a result it could be (and was) accidentally committed. Untrack the stray file and add the pattern next to `.kit-audit.jsonl` so neither kit's own repo nor any kit user commits this local state again. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015ERHw6bVUz39sAuoQZ1iyg
|
✅ Docker image built successfully
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
kit triageappends a per-run audit log to.kit-triage.jsonlin the cwd (src/commands/triage.ts:124), exactly like.kit-audit.jsonland the other.kit-*local-state files — but it was the one such file missing from.gitignore.RCA
While verifying the OpenCode work (#156) I ran
kit triage npm opencode-aietc. from the repo root, which wrote.kit-triage.jsonl. Agit add -Athen swept it into #156 and it landed onmain. Root cause: the ignore list covers.kit-audit.jsonl,.kit-baseline.json,.kit-budget.json,.kit-escalation.txt, … but not.kit-triage.jsonl.Fix
.kit-triage.jsonl..gitignorenext to.kit-audit.jsonl, so neither kit's own repo nor any kit user commits this local audit state again.Verified
git check-ignore .kit-triage.jsonlnow matches.🤖 Generated with Claude Code
https://claude.ai/code/session_015ERHw6bVUz39sAuoQZ1iyg
Generated by Claude Code